package com.foreverwin.jzymes.eap.mapper;

import com.foreverwin.jzymes.eap.domain.ResourceTimeLog;
import org.apache.ibatis.annotations.Param;

public interface ResourceTimeLogAdviceMapper {

    public ResourceTimeLog selectCurrentResourceTimeLog(@Param("site") String site, @Param("resource") String resource );

    public ResourceTimeLog selectCurrentResourceTimeLogForUpdate(@Param("site") String site, @Param("resource") String resource );

    public ResourceTimeLog selectResourceTimeLogForUpdate( @Param("handle") String handle );

    public int updateResourceTimeLog( ResourceTimeLog resourceTimeLog );
}
